projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d1b5c1
)
themingengine: Implement icon drawing for checks and options
author
Benjamin Otte
<otte@redhat.com>
Sun, 11 May 2014 01:40:10 +0000
(
03:40
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Wed, 14 May 2014 02:28:34 +0000
(
04:28
+0200)
gtk/gtkthemingengine.c
patch
|
blob
|
history
diff --git
a/gtk/gtkthemingengine.c
b/gtk/gtkthemingengine.c
index 6f428b17641db515d4bc28b4455ba5b207d63c5f..fe6a045cf7799e71af43f1ef4b1ea879b3984fa7 100644
(file)
--- a/
gtk/gtkthemingengine.c
+++ b/
gtk/gtkthemingengine.c
@@
-1067,6
+1067,9
@@
gtk_theming_engine_render_check (GtkThemingEngine *engine,
gint border_width;
GtkThemingBackground bg;
+ if (render_icon_image (engine, cr, x, y, width, height))
+ return;
+
_gtk_theming_background_init (&bg, engine,
x, y,
width, height,
@@
-1189,6
+1192,9
@@
gtk_theming_engine_render_option (GtkThemingEngine *engine,
GtkBorder border;
GtkThemingBackground bg;
+ if (render_icon_image (engine, cr, x, y, width, height))
+ return;
+
_gtk_theming_background_init (&bg, engine,
x, y,
width, height,